package com.sdl3.shape;

import com.sun.jna.Structure;

import java.util.Arrays;
import java.util.List;

public class PineaRect extends Structure implements Structure.ByReference {
    public float x, y, w, h;

    public PineaRect(float x, float y, float w, float h) {
        this.x = x;
        this.y = y;
        this.w = w;
        this.h = h;
    }

    @Override
    protected List<String> getFieldOrder() {
        return Arrays.asList("x", "y", "w", "h");
    }
}
